#include "light.h"

using namespace goatgfx;

Light::Light()
{
	cast_shadows = false;
}

void Light::set_color(const Vector3 &color)
{
	this->color = color;
}

const Vector3 &Light::get_color() const
{
	return color;
}

void Light::set_attenuation(const Vector3 &att)
{
	attenuation = att;
}

const Vector3 &Light::get_attenuation() const
{
	return attenuation;
}

void Light::set_shadow_caster(bool s)
{
	cast_shadows = s;
}

bool Light::is_shadow_caster() const
{
	return cast_shadows;
}
